package com.ktjy.main;

import com.ktjy.main.factory.Component;
import com.ktjy.main.factory.RequestMapping;
import com.ktjy.main.factory.Resource;


@Component("苹果")
public class Apple {
    @Resource(name="红富士")
    private String brand;

    @RequestMapping(value = "/getBrand",method = "post")
    public String getBrand(){
        return this.brand;
    }
}
